package net.huashitong.ssydt.provider.pk.mapper;


import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.pk.entity.SsPkYmdxMyMedal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsPkYmdxMyMedalMapper extends LongMapper<SsPkYmdxMyMedal> {

    SsPkYmdxMyMedal getByUserId(String userId);

    List<SsPkYmdxMyMedal> findCountMedalRank();

    List<SsPkYmdxMyMedal> findByGoldMedalNumberWithNotInTaskMedal(int number);
}